﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Kylin.Wiki.Model.Dto
{
    /// <summary>
    /// 登录
    /// </summary>
    public class LoginDTO:BaseDTO
    {
        /// <summary>
        /// 登录账号
        /// </summary>
        [Required(ErrorMessage = "登录账号不能为空")]
        [Display(Name = "登录账号")]
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        [Required(ErrorMessage = "登录密码不能为空")]
        [Display(Name = "登录密码")]
        public string PassWord { get; set; }
    }
}
